﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using DAL;
using Model;
namespace BLL
{
    public class StudentServes
    {
        StudentDAL student = new StudentDAL();

        public IQueryable<Student> GetList(Expression<Func<Grade, bool>> where) 
        {
            return student.Getllist(where);
        }

        public bool Add(Student stu) 
        {
            return student.Add(stu);
        }

        public bool Delete(Expression<Func<Student, bool>> where) 
        {
            return student.Delete(where);
        }
    }
}
